package com.xique.client.service.biz.service;

import com.xique.client.bean.request.ClientOprGateRequest;
import com.xique.common.core.web.domain.AjaxResult;

/**
 * @author: caogq
 * @Date: 2021/7/31 10:28
 * @Description:
 */
public interface IClientCommandService {
    /**
     * 开闸
     * @param request
     * @return
     */
    public AjaxResult openGate(ClientOprGateRequest request);

    /**
     * 关闸
     * @param request
     * @return
     */
    public AjaxResult closeGate(ClientOprGateRequest request);

    /**
     * 开闸
     * @param sn
     * @return
     */
    public AjaxResult openGate(String sn);

    /**
     * 关闸
     * @param sn
     * @return
     */
    public AjaxResult closeGate(String sn);

    /**
     * 设备抓拍图片
     * @param sn
     * @return
     */
    AjaxResult trigPic(String sn);
}
